﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NCP.Infrastructure.Common.Specification;

namespace NCP.Recruiting.Domain.Aggregates.Resumes
{
    public class SavedSearchSpecifications
    {
        public static Specification<SavedSearch> GetByCompany(Guid companyId)
        {
            return new DirectSpecification<SavedSearch>(x => x.CompanyId.Equals(companyId));
        }
    }
}
